// pages/index/make/make.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    tabId: 0,
    list: [{
      index: 0,
      name: '洗车'
    },{
      index: 1,
      name: '美容'
    },{
      index: 2,
      name: '保养'
    },{
      index: 3,
      name: '维修'
    },{
      index: 4,
      name: '钣金'
    },{
      index: 5,
      name: '喷漆'
    }],
    lit:[{
      image: '/img/neishiqingxi@2x.png',
      name: '升级改装',
      price: '180.00',
      yuanPrice: '200.00'
    },{
      image: '/img/neishiqingxi@2x.png',
      name: '全身精洗',
      price: '120.00',
      yuanPrice: '135.00'
    }]
  },
  onLoad: function (options) {
    this.setData({
      tabId: options.tabId
    })
  },
  tabSelect(e) {
    this.setData({
      tabId: e.currentTarget.dataset.id
    })
  },
  goPage() {
    wx.navigateTo({
      url: '/pages/index/server/server',
    })
  }
})